<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<title></title>
		<script type="text/javascript" src="js/jquery-1.11.2.min.js"></script>
		<script type="text/javascript">
			var port = "";
			$.ajax({
				url: "http://47.106.189.124:8086",
				type: "GET",
				success: function(res) {
					alert(res.port);
					port = res.port;
					$.ajax({
						url: "http://47.106.189.124:" + port + "/common/audit",
						type: "GET",
						success: function(result) {
							if(!result) {
								window.location.href = "shareApp2.0/index.html";
							} else {
								window.location.href = "shareApp1.0/index.html";
							}
						}
					});
				}
			});
			//控制分享按钮
		</script>
	</head>

	<body>

	</body>

</html>